<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h1>用户登录</h1>

<form action="/login_action" method="post">
{% csrf_token %}
    <input type="text" name="name">
    <input type="password" name="password">

    <input type="submit" value="登录">
</form>

</body>
</html>